//
// Created by ashCheng on 2023/2/1.
// 1.5.1
#include <iostream>
#include <string>
#include "Sales_data.h"

int main() {
  Sales_data data1;
  double price;
  std::cin >> data1.bookNo >> data1.units_sold >> price;
  data1.CalcRevenue(price);
  data1.Print();
  return 0;
}